package com.woniuxy.kaer.shop.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 郭建东
 * @since 2025年02月25日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("point_product_order")
public class PointProductOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("point_product_order_id")
    private String pointProductOrderId;

    @TableField("point_product_id")
    private Integer pointProductId;

    @TableField("point_product_name")
    private String pointProductName;

    @TableField("point_product_num")
    private Integer pointProductNum;

    /**
     * 总积分
     */
    @TableField("point_product_price")
    private BigDecimal pointProductPrice;

    /**
     * 兑换人id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 兑换人电话
     */
    @TableField("user_phone")
    private String userPhone;

    /**
     * 收货人姓名
     */
    @TableField("delivery_name")
    private String deliveryName;

    /**
     * 收货人电话
     */
    @TableField("delivery_phone")
    private String deliveryPhone;

    /**
     * 收货人地址
     */
    @TableField("delivery_address")
    private String deliveryAddress;

    /**
     * 兑换时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 订单状态
     */
    @TableField("state")
    private Integer state;


}
